package com.training.java.core.encapsulation;



	public class Car2 {
	private	String color;
	private	String vinNumber;
		int maximumSpeed;
		int currentSpeed;
		int numberOfGears = 5;
			
		public String getColor() {
			return color;
		}
		public void setColor(String color) {
			this.color = color;
		}
		public String getvinNumber() {
			return vinNumber;
		}
		public void setvinNumber(String vinNumber) {
			this.vinNumber = vinNumber;
		}
		public int getmaximumSpeed() {
			return maximumSpeed;
		}
		public void setmaximumSpeed(int maximumSpeed) {
			this.maximumSpeed = maximumSpeed;
		}
		public int getnumberOfGears() {
			return numberOfGears;
		}
		public void setnumberOfGears(int numberOfGears) {
			this.numberOfGears = numberOfGears;
		}

	}

	
		
	

